package _0925.superkey;

public class Car2 extends Vehicle2{

	private String color;

	public Car2() {
		super();
	}

	public Car2(String name, int speed, String color) {
		super(name, speed);
		this.color = color;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
	
}
